package itheima.com.d02_map_iteractor;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Test {
    public static void main(String[] args) {
        //创建集合
        Map<String,Integer> map=new HashMap<>();
        map.put("高虎",365);
        map.put("小虎",369);
        map.put("小long ",367);
        map.put("小lan",366);
        map.put("小王",368);
        Set<String> keys = map.keySet();
     for (String key:keys) {


         System.out.println(key + "--" + map.get(key));

         System.out.println("===================");
     }
    }
}
